//
//  USTarotCard.h
//  us
//
//  Created by karry on 2025/5/14.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, USTarotCardOrientation) {
    USTarotCardOrientationUpright = 0,   // 正位
    USTarotCardOrientationReversed = 1   // 逆位
};
@interface USTarotCard : NSObject

@property (nonatomic,strong) NSString *name;
@property (nonatomic,strong) NSString *imageName;
@property (nonatomic,strong) NSDate *date;
@property (nonatomic,assign) USTarotCardOrientation orientation;
@property (nonatomic,strong) NSString *answer;

@property (nonatomic,strong,readonly) NSString *overview;
@property (nonatomic,strong,readonly) NSString *detail;

- (UIImage *)cardCover;

+ (NSArray *)coverList;

+ (UIImage *)defaultCardCover;

@end

NS_ASSUME_NONNULL_END
